//会员管理向api里的发请求的(后端没写，所以这个页面写死)
import {message} from "antd";
export default {
    // 会员标签数组
    memberLabelArr:['土豪','多金','买买买','屌丝','帅气','斯文败类','睿智','成熟稳重','好好学习','天天向上'],

    // 表格数据
    memberTableList: [
        {
            id:"1111111",
            telnumber:'17782147084',
            relation:'是',
            Franchisee:'西湖黄龙店',
            state:'冻结',
            integral:'5000',
            ConsumptionAmount:'17868',
            MemberLabel:['快乐', '益智'],
            RegistrationTime:'2018-03-12',
            SourceOfRegistration:'小黑早教',
        },
        {
            id:"2222222",
            telnumber:'17323705828',
            relation:'是',
            Franchisee:'西湖西溪店',
            state:'正常',
            integral:'5000',
            ConsumptionAmount:'17868',
            MemberLabel:['快乐'],
            RegistrationTime:'2018-03-12',
            SourceOfRegistration:'小黑绘本',
        },
        {
            id:"3333333",
            telnumber:'18725704920',
            relation:'是',
            Franchisee:'西湖古墩店',
            state:'冻结',
            integral:'5000',
            ConsumptionAmount:'17868',
            MemberLabel:['快乐', '益智'],
            RegistrationTime:'2018-03-12',
            SourceOfRegistration:'萌萌儿歌',
        },
        {
            id:"4444444",
            telnumber:'13594352318',
            relation:'是',
            Franchisee:'西湖湖畔店',
            state:'正常',
            integral:'5000',
            ConsumptionAmount:'17868',
            MemberLabel:['快乐', '益智',"疯狂","买买"],
            RegistrationTime:'2018-03-12',
            SourceOfRegistration:'小黑早教',
        },
        {
            id:"5555555",
            telnumber:'18680859658',
            relation:'是',
            Franchisee:'西湖武林店',
            state:'冻结',
            integral:'5000',
            ConsumptionAmount:'17868',
            MemberLabel:['快乐', '益智'],
            RegistrationTime:'2018-03-12',
            SourceOfRegistration:'小黑绘本',
        },
        {
            id:"6666666",
            telnumber:'13883757089',
            relation:'是',
            Franchisee:'西湖黄龙店',
            state:'正常',
            integral:'5000',
            ConsumptionAmount:'17868',
            MemberLabel:['快乐'],
            RegistrationTime:'2018-03-12',
            SourceOfRegistration:'小黑早教',
        },
        {
            id:"7777777",
            telnumber:'15023763114',
            relation:'是',
            Franchisee:'西湖西溪店',
            state:'冻结',
            integral:'5000',
            ConsumptionAmount:'17868',
            MemberLabel:['快乐', '益智'],
            RegistrationTime:'2018-03-12',
            SourceOfRegistration:'萌萌儿歌',
        }

    ],
    chaxun: [
        {
            id:"1111111",
            telnumber:'17782147084',
            relation:'是',
            Franchisee:'西湖黄龙店',
            state:'冻结',
            integral:'5000',
            ConsumptionAmount:'17868',
            MemberLabel:['快乐', '益智'],
            RegistrationTime:'2018-03-12',
            SourceOfRegistration:'小黑早教',
        },
        {
            id:"2222222",
            telnumber:'17323705828',
            relation:'是',
            Franchisee:'西湖西溪店',
            state:'正常',
            integral:'5000',
            ConsumptionAmount:'17868',
            MemberLabel:['快乐'],
            RegistrationTime:'2018-03-12',
            SourceOfRegistration:'小黑绘本',
        },
        {
            id:"3333333",
            telnumber:'18725704920',
            relation:'是',
            Franchisee:'西湖古墩店',
            state:'冻结',
            integral:'5000',
            ConsumptionAmount:'17868',
            MemberLabel:['快乐', '益智'],
            RegistrationTime:'2018-03-12',
            SourceOfRegistration:'萌萌儿歌',
        },
        {
            id:"4444444",
            telnumber:'13594352318',
            relation:'是',
            Franchisee:'西湖湖畔店',
            state:'正常',
            integral:'5000',
            ConsumptionAmount:'17868',
            MemberLabel:['快乐', '益智',"疯狂","买买"],
            RegistrationTime:'2018-03-12',
            SourceOfRegistration:'小黑早教',
        },
        {
            id:"5555555",
            telnumber:'18680859658',
            relation:'是',
            Franchisee:'西湖武林店',
            state:'冻结',
            integral:'5000',
            ConsumptionAmount:'17868',
            MemberLabel:['快乐', '益智'],
            RegistrationTime:'2018-03-12',
            SourceOfRegistration:'小黑绘本',
        },
        {
            id:"6666666",
            telnumber:'13883757089',
            relation:'是',
            Franchisee:'西湖黄龙店',
            state:'正常',
            integral:'5000',
            ConsumptionAmount:'17868',
            MemberLabel:['快乐'],
            RegistrationTime:'2018-03-12',
            SourceOfRegistration:'小黑早教',
        },
        {
            id:"7777777",
            telnumber:'15023763114',
            relation:'是',
            Franchisee:'西湖西溪店',
            state:'冻结',
            integral:'5000',
            ConsumptionAmount:'17868',
            MemberLabel:['快乐', '益智'],
            RegistrationTime:'2018-03-12',
            SourceOfRegistration:'萌萌儿歌',
        }

    ],
    //选中行的key值
    selectRowKeys:[],
    //设置选中行的key值
    setSelectRowKeys(values){
        this.selectRowKeys=values
    },

    //重新写入
    setMemberTableList(arr){
        console.log(111,arr)
        this.memberTableList=arr
    },


//
    resetlist(){
        this.memberTableList=this.chaxun
    }



}